home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 735 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  2.0 KB

  1. From: ekl@sdf.lonestar.org (Evan K. Langlois)
  2. Subject: STZIP 
  3. Date: Fri, 31 Dec 93 0:01:23 CST
  4.  
  5.  
  6. There were 2 problems I was having with STZIP that I was sure were MiNTs
  7. fault, and from the testing I was able to do I was pretty sure.
  8.  
  9. Anyway, now I have a VT240 terminal connected so I can watch MiNTs trace
  10. output and pause it and such without wasting paper or cluttering my screen.
  11. >From its output I was able to check things and found that MiNT returned 
  12. a -33 and not a -34 when a path/file has a path that does not exist (when
  13. a pathname is not found).
  14.  
  15. However, this was only for loaded file systems.  How can loaded file systems
  16. tell if the name being passed (to the "lookup" function) is supposed to
  17. be a directory or a filename?  I couldn't find out, so I kludged MiNT.
  18.  
  19. In relpath2cookie, where its parsing the path/filename (I left the FS_KNOPARSE
  20. or whatever alone since the filesystem should return the correct value), 
  21. and right after the look_up function is called I added :
  22.  
  23.   if ((r == EFILNF) && (*path))
  24.     r = EPTHNF;
  25.  
  26. This makes the assumption that if there is more path to parse, and the lookup
  27. function said "file not found", what it must have meant was "Path Not Found"
  28. since we must have passed a directory name to it instead of a filename.
  29.  
  30. That makes STZIP create folders on loaded filesystems (and likely fixes a
  31. few other programs since the return codes are now GEMDOS compatible or closer
  32. to it anyway).  The other problem was not being able to read a ZIP file on
  33.  a RAMFS system.  Changing the ram_seek function in ramfs.c fixed that (it
  34. used minus instead of adding the negative thing that everyone talked about
  35. before).
  36.  
  37. I also added all the other diffs that I collected (from what I had).  When
  38. is 1.10 coming out?  Oh .. I'll send a diff later if anyone wants it - I
  39. just don't have DIFF on my drive (accidently deleted it and a few other 
  40. goodies).
  41.  
  42. Has anyone worked on the blocking fork() problem or the blocking IO (or rather
  43. system locking IO) ??
  44.  
  45. CYA
  46. EKL
  47.  
  48.  
  49.  
  50.